#include <iostream>
#include <cstring>
using namespace std;
struct cat{
	string name;
	string age;
	string miao(){
		return "miao,i am "+name+" and "+age+" years old.";
	}
//    string first(){
//		return "a";
//	};
//	string second(){
//		return " and ";
//	};
//	string last(){
//		return "b";
//	};
};

int main(){
    cat happy;
//  cout<<guanxi.first()<<guanxi.second()<<guanxi.last();
    cin>>happy.name>>happy.age;
    cout<<happy.miao();
	return 0;
}
